package com.yunxi.vehicle.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.vehicle.pojo.VehicleBrandVO;
import com.yunxi.vehicle.pojo.VehicleInfoListVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-07
 */
public interface VehicleBrandDubboService {

    VehicleBrandVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(VehicleBrandVO vehicleBrandVo) throws Exception;

    void removeById(String id);

    void del(VehicleBrandVO vehicleBrandVO);

    List brandList();

    VehicleInfoListVO vehicleInfoList();

    PageInfo<VehicleBrandVO> findPageByVO(VehicleBrandVO vehicleBrandVO,Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;
}
